<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link rel="stylesheet" type="text/css" href="style_form.css" />
	<script language="javascript" src="error_valid.js"></script>
	<title>Form Khóa</title>
</head>

<body>
	<?php
        echo'<form id ="form" name="a" onsubmit="return test_khoa();" method="post" action="">';
		echo'<fieldset>';
			echo'<legend>Thêm Khoá Đào Tạo</legend>';
				echo'<div>';
					echo'<label for="ma_kh">Mã Khóa ĐT:</label>';
					echo"<input type='text' name='ma_kh' value='".$_POST["ma_kh"]."' size = '15' onblur='test_valid(a.ma_kh)' \>";
				echo'</div>';
				
				echo'<div>';
					echo'<label for="ma_ng">Mã Ngành ĐT:</label>';
					echo "<input type='text' name='ma_ng' value='".$_POST["ma_ng"]."' size = '15' onblur='test_valid(a.ma_ng)' \>";
				echo'</div>';
				
				echo'<div>';
					echo'<label for="name_kh">Tên Khóa ĐT:</label>';
					echo "<input type='text' name='name_kh' value='".$_POST["name_kh"]."' size = '50'>";
				echo'</div>';
				
				echo'<div>';
					echo'<label for="nam">Số Năm ĐT:</label>';
					echo "<input type='text' name='nam' value='".$_POST["nam"]."' size = '15'>";
				echo'</div>';
				
				echo'<div>';
					echo'<input type="submit" name="add" value="THÊM" class="button"/>';
				echo'</div>';
			echo'</fieldset>';
		echo'</form>';
    ?>
</body>
</html>
